var t = n = 0, count; 
$(document).ready(function(){ 
$('#ulindex_l1').css({"background":"#3370CC",'color':'#FFF','filter':'Alpha(Opacity=80)','opacity':'0.8'}).siblings().css({"background":"#6f4f67",'color':'#fff'}); 
count=$("#imgPlay a").length; 
$("#imgPlay a:not(:first-child)").hide(); 

$("#index_p11 li").click(function() { 
var i = $(this).text() - 1;//获取Li元素内的值，即1，2，3，4 
n = i; 	
if (i >= count) return; 

$("#imgPlay a").filter(":visible").fadeOut(500).parent().children().eq(i).fadeIn(1000); 
$(this).css({"background":"#3370CC",'color':'#FFF','filter':'Alpha(Opacity=80)','opacity':'0.8'}).siblings().css({"background":"#6f4f67",'color':'#fff'}); 
}); 
t = setInterval("showAuto()", 10000); 
$("#index_p11").hover(function(){clearInterval(t)}, function(){t = setInterval("showAuto()", 10000);}); 
}) 

function showAuto() 
{ 
n = n >=(count - 1) ? 0 : ++n; 
$("#index_p11 li").eq(n).trigger('click'); 

} 